package day3.com.test;

import java.util.Enumeration;
import java.util.Properties;

public class SystemDemo {
    public static void main(String[] args) {
        Properties sp = System.getProperties();
        Enumeration e = sp.propertyNames();
       while (e.hasMoreElements()) {
               String key = (String) e.nextElement();
               System.out.println(key + " = " + sp.getProperty(key));
       }


}
}
